The CaseStatement ActiveX control allows an application to write different values to a destination tag based on the value of a source tag. The CaseStatement ActiveX control addresses a need for string association in a FactoryTalk View Machine Edition application.